package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_StoreAccount", catalog="Id")
public class TcwStoreAccount extends BaseEntity<TcwStoreAccount> {

	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="PGuid", nameJava="pGuid", typeDataBase="varchar")
	private String pGuid;
	@YsField(nameDataBase="Iid", nameJava="iid", typeDataBase="int")
	private Integer iid;
	@YsField(nameDataBase="Nid", nameJava="nid", typeDataBase="varchar")
	private String nid;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="PBid", nameJava="pBid", typeDataBase="varchar")
	private String pBid;
	@YsField(nameDataBase="Cid", nameJava="cid", typeDataBase="varchar")
	private String cid;
	@YsField(nameDataBase="AUser", nameJava="aUser", typeDataBase="varchar")
	private String aUser;
	@YsField(nameDataBase="ADept", nameJava="aDept", typeDataBase="varchar")
	private String aDept;
	@YsField(nameDataBase="APosition", nameJava="aPosition", typeDataBase="varchar")
	private String aPosition;
	@YsField(nameDataBase="BUser", nameJava="bUser", typeDataBase="varchar")
	private String bUser;
	@YsField(nameDataBase="BDept", nameJava="bDept", typeDataBase="varchar")
	private String bDept;
	@YsField(nameDataBase="BPosition", nameJava="bPosition", typeDataBase="varchar")
	private String bPosition;
	@YsField(nameDataBase="VBz", nameJava="vBz", typeDataBase="varchar")
	private String vBz;
	@YsField(nameDataBase="VZdbz", nameJava="vZdbz", typeDataBase="varchar")
	private String vZdbz;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="bit")
	private Integer effectStock;
	@YsField(nameDataBase="Deleted", nameJava="deleted", typeDataBase="bit")
	private Integer deleted;
	@YsField(nameDataBase="ActiveFlow", nameJava="activeFlow", typeDataBase="varchar")
	private String activeFlow;
	@YsField(nameDataBase="ProcInstId", nameJava="procInstId", typeDataBase="varchar")
	private String procInstId;
	@YsField(nameDataBase="VGsBm", nameJava="vGsBm", typeDataBase="varchar")
	private String vGsBm;
	@YsField(nameDataBase="VGsMc", nameJava="vGsMc", typeDataBase="varchar")
	private String vGsMc;
	@YsField(nameDataBase="VGsJc", nameJava="vGsJc", typeDataBase="varchar")
	private String vGsJc;
	@YsField(nameDataBase="DepositAccount", nameJava="depositAccount", typeDataBase="varchar")
	private String depositAccount;
	@YsField(nameDataBase="CurrencyCode", nameJava="currencyCode", typeDataBase="varchar")
	private String currencyCode;
	@YsField(nameDataBase="BPrice", nameJava="bPrice", typeDataBase="decimal")
	private BigDecimal bPrice;
	@YsField(nameDataBase="RPrice", nameJava="rPrice", typeDataBase="decimal")
	private BigDecimal rPrice;
	@YsField(nameDataBase="FinancialEventGroupId", nameJava="financialEventGroupId", typeDataBase="varchar")
	private String financialEventGroupId;
	@YsField(nameDataBase="AStatus", nameJava="aStatus", typeDataBase="varchar")
	private String aStatus;
	@YsField(nameDataBase="Num", nameJava="num", typeDataBase="int")
	private Integer num;
	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="TransactionNum", nameJava="transactionNum", typeDataBase="varchar")
	private String transactionNum;
	@YsField(nameDataBase="EndDate", nameJava="endDate", typeDataBase="varchar")
	private String endDate;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public String getGuid() {
		return guid;
	}
	public TcwStoreAccount setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getPGuid() {
		return pGuid;
	}
	public TcwStoreAccount setPGuid(String pGuid) {
		this.pGuid = pGuid;
		return this;
	}
	public Integer getIid() {
		return iid;
	}
	public TcwStoreAccount setIid(Integer iid) {
		this.iid = iid;
		return this;
	}
	public String getNid() {
		return nid;
	}
	public TcwStoreAccount setNid(String nid) {
		this.nid = nid;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TcwStoreAccount setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public String getPBid() {
		return pBid;
	}
	public TcwStoreAccount setPBid(String pBid) {
		this.pBid = pBid;
		return this;
	}
	public String getCid() {
		return cid;
	}
	public TcwStoreAccount setCid(String cid) {
		this.cid = cid;
		return this;
	}
	public String getAUser() {
		return aUser;
	}
	public TcwStoreAccount setAUser(String aUser) {
		this.aUser = aUser;
		return this;
	}
	public String getADept() {
		return aDept;
	}
	public TcwStoreAccount setADept(String aDept) {
		this.aDept = aDept;
		return this;
	}
	public String getAPosition() {
		return aPosition;
	}
	public TcwStoreAccount setAPosition(String aPosition) {
		this.aPosition = aPosition;
		return this;
	}
	public String getBUser() {
		return bUser;
	}
	public TcwStoreAccount setBUser(String bUser) {
		this.bUser = bUser;
		return this;
	}
	public String getBDept() {
		return bDept;
	}
	public TcwStoreAccount setBDept(String bDept) {
		this.bDept = bDept;
		return this;
	}
	public String getBPosition() {
		return bPosition;
	}
	public TcwStoreAccount setBPosition(String bPosition) {
		this.bPosition = bPosition;
		return this;
	}
	public String getVBz() {
		return vBz;
	}
	public TcwStoreAccount setVBz(String vBz) {
		this.vBz = vBz;
		return this;
	}
	public String getVZdbz() {
		return vZdbz;
	}
	public TcwStoreAccount setVZdbz(String vZdbz) {
		this.vZdbz = vZdbz;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TcwStoreAccount setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public Integer getDeleted() {
		return deleted;
	}
	public TcwStoreAccount setDeleted(Integer deleted) {
		this.deleted = deleted;
		return this;
	}
	public String getActiveFlow() {
		return activeFlow;
	}
	public TcwStoreAccount setActiveFlow(String activeFlow) {
		this.activeFlow = activeFlow;
		return this;
	}
	public String getProcInstId() {
		return procInstId;
	}
	public TcwStoreAccount setProcInstId(String procInstId) {
		this.procInstId = procInstId;
		return this;
	}
	public String getVGsBm() {
		return vGsBm;
	}
	public TcwStoreAccount setVGsBm(String vGsBm) {
		this.vGsBm = vGsBm;
		return this;
	}
	public String getVGsMc() {
		return vGsMc;
	}
	public TcwStoreAccount setVGsMc(String vGsMc) {
		this.vGsMc = vGsMc;
		return this;
	}
	public String getVGsJc() {
		return vGsJc;
	}
	public TcwStoreAccount setVGsJc(String vGsJc) {
		this.vGsJc = vGsJc;
		return this;
	}
	public String getDepositAccount() {
		return depositAccount;
	}
	public TcwStoreAccount setDepositAccount(String depositAccount) {
		this.depositAccount = depositAccount;
		return this;
	}
	public String getCurrencyCode() {
		return currencyCode;
	}
	public TcwStoreAccount setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
		return this;
	}
	public BigDecimal getBPrice() {
		return bPrice;
	}
	public TcwStoreAccount setBPrice(BigDecimal bPrice) {
		this.bPrice = bPrice;
		return this;
	}
	public BigDecimal getRPrice() {
		return rPrice;
	}
	public TcwStoreAccount setRPrice(BigDecimal rPrice) {
		this.rPrice = rPrice;
		return this;
	}
	public String getFinancialEventGroupId() {
		return financialEventGroupId;
	}
	public TcwStoreAccount setFinancialEventGroupId(String financialEventGroupId) {
		this.financialEventGroupId = financialEventGroupId;
		return this;
	}
	public String getAStatus() {
		return aStatus;
	}
	public TcwStoreAccount setAStatus(String aStatus) {
		this.aStatus = aStatus;
		return this;
	}
	public Integer getNum() {
		return num;
	}
	public TcwStoreAccount setNum(Integer num) {
		this.num = num;
		return this;
	}
	public Long getId() {
		return id;
	}
	public TcwStoreAccount setId(Long id) {
		this.id = id;
		return this;
	}
	public String getTransactionNum() {
		return transactionNum;
	}
	public TcwStoreAccount setTransactionNum(String transactionNum) {
		this.transactionNum = transactionNum;
		return this;
	}
	public String getEndDate() {
		return endDate;
	}
	public TcwStoreAccount setEndDate(String endDate) {
		this.endDate = endDate;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwStoreAccount setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwStoreAccount setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwStoreAccount setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwStoreAccount tcwStoreAccount(
		String guid,
		String pGuid,
		Integer iid,
		String nid,
		String bid,
		String pBid,
		String cid,
		String aUser,
		String aDept,
		String aPosition,
		String bUser,
		String bDept,
		String bPosition,
		String vBz,
		String vZdbz,
		Integer effectStock,
		Integer deleted,
		String activeFlow,
		String procInstId,
		String vGsBm,
		String vGsMc,
		String vGsJc,
		String depositAccount,
		String currencyCode,
		BigDecimal bPrice,
		BigDecimal rPrice,
		String financialEventGroupId,
		String aStatus,
		Integer num,
		String transactionNum,
		String endDate,
		Integer status
			) {
		TcwStoreAccount entity = new TcwStoreAccount();
		entity.setGuid(guid);
		entity.setPGuid(pGuid);
		entity.setIid(iid);
		entity.setNid(nid);
		entity.setBid(bid);
		entity.setPBid(pBid);
		entity.setCid(cid);
		entity.setAUser(aUser);
		entity.setADept(aDept);
		entity.setAPosition(aPosition);
		entity.setBUser(bUser);
		entity.setBDept(bDept);
		entity.setBPosition(bPosition);
		entity.setVBz(vBz);
		entity.setVZdbz(vZdbz);
		entity.setEffectStock(effectStock);
		entity.setDeleted(deleted);
		entity.setActiveFlow(activeFlow);
		entity.setProcInstId(procInstId);
		entity.setVGsBm(vGsBm);
		entity.setVGsMc(vGsMc);
		entity.setVGsJc(vGsJc);
		entity.setDepositAccount(depositAccount);
		entity.setCurrencyCode(currencyCode);
		entity.setBPrice(bPrice);
		entity.setRPrice(rPrice);
		entity.setFinancialEventGroupId(financialEventGroupId);
		entity.setAStatus(aStatus);
		entity.setNum(num);
		entity.setTransactionNum(transactionNum);
		entity.setEndDate(endDate);
		entity.setStatus(status);
		return entity;
	}
}